package com.yztstudy.Utils;


import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 时间工具类
 */

public class TimeUtils {

    public static String currentTime()
    {
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sdf.format(date);
    }
}
